package Person;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 38917
 * Date: 2025-04-02
 * Time: 09:53
 */
public class Admin extends User{
    public Admin(String name, int age) {
        super(name, age);
    }
    //
    @Override
    public void menu(String bookName) {
        System.out.println("Hello Admin:" + bookName);
    }
    //
    @Override
    public String toString() {
        return "Admin{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
